#!/usr/bin/env python
# encoding: utf-8
"""
@author: dxh
@software: PyCharm
@file: MainApp.py
@time: 2025/3/30 16:32
"""

import sys
from PySide6.QtGui import QIcon
from PySide6.QtWidgets import QApplication,QMainWindow
import MainWindowImpl
# 引入资源！！一定要做的
import Resources

if __name__ == '__main__':
    app = QApplication(sys.argv)

    # 使用资源，使用别名
    app.setWindowIcon(QIcon(':logo'))

    mw = QMainWindow()
    impl = MainWindowImpl.MainWindowImpl(mw)
    mw.show()

    sys.exit(app.exec())  # 进入QT事件循环
